
package com.google.earth.kml;

import java.util.ArrayList;
import java.util.List;

/** 
 * Schema fragment(s) for this class:
 * <pre>
 * &lt;xs:complexType xmlns:ns="http://earth.google.com/kml/2.1" xmlns:xs="http://www.w3.org/2001/XMLSchema" final="#all" name="ListStyleType">
 *   &lt;xs:complexContent>
 *     &lt;xs:extension base="ns:ObjectType">
 *       &lt;xs:sequence>
 *         &lt;xs:element type="ns:listItemTypeEnum" default="check" name="listItemType" minOccurs="0"/>
 *         &lt;xs:element type="xs:hexBinary" default="ffffffff" name="bgColor" minOccurs="0"/>
 *         &lt;xs:element type="ns:ItemIconType" name="ItemIcon" minOccurs="0" maxOccurs="unbounded"/>
 *       &lt;/xs:sequence>
 *     &lt;/xs:extension>
 *   &lt;/xs:complexContent>
 * &lt;/xs:complexType>
 * </pre>
 */
public class ListStyleType extends ObjectType
{
    private ListItemTypeEnum listItemType;
    private byte[] bgColor;
    private List<ItemIconType> itemIconList = new ArrayList<ItemIconType>();

    /** 
     * Get the 'listItemType' element value.
     * 
     * @return value
     */
    public ListItemTypeEnum getListItemType() {
        return listItemType;
    }

    /** 
     * Set the 'listItemType' element value.
     * 
     * @param listItemType
     */
    public void setListItemType(ListItemTypeEnum listItemType) {
        this.listItemType = listItemType;
    }

    /** 
     * Get the 'bgColor' element value.
     * 
     * @return value
     */
    public byte[] getBgColor() {
        return bgColor;
    }

    /** 
     * Set the 'bgColor' element value.
     * 
     * @param bgColor
     */
    public void setBgColor(byte[] bgColor) {
        this.bgColor = bgColor;
    }

    /** 
     * Get the list of 'ItemIcon' element items.
     * 
     * @return list
     */
    public List<ItemIconType> getItemIconList() {
        return itemIconList;
    }

    /** 
     * Set the list of 'ItemIcon' element items.
     * 
     * @param list
     */
    public void setItemIconList(List<ItemIconType> list) {
        itemIconList = list;
    }
}
